Slicing , I / O and the Implicit

نویسندگان

  • Yoga Sivagurunathan
  • Mark Harman
  • Sebastian Danicic
چکیده

Program slicing consists of deleting statements from a program , creating a reduced program, a slice, that preserves the original program's behaviour for a given set of variables at a chosen point in the program. However, some aspects of a program's semantics are not captured by a set of variables, rendering slicing inapplica-ble to their analysis. These aspects of the program's state shall, collectively, be termed thèimplicit state'. For example , the input list supplied to a program is not denoted by a variable, rather it is part of the implicit state. It will be shown that this implicitness causes existing slicing algorithms to produce incorrect slices with respect to input. In order to solve the problem the program to be sliced will be transformed into anèxplicit' version (in which all aspects of its semantics are captured by variables). The approach is also applied to a wider class of problems in which slicing is inhibited by the lack of variables upon which to form a suitable slicing criterion. Because the approach can be expressed as a source{level transformation, it has the attractive property that the slicing algorithm need not be altered.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Slicing, I/O and the Implicit State

Program slicing consists of deleting statements from a pro gram creating a reduced program a slice that preserves the original program s behaviour for a given set of variables at a chosen point in the program However some aspects of a program s semantics are not captured by a set of variables rendering slicing inapplica ble to their analysis These aspects of the program s state shall collective...

متن کامل

Using Program Slicing to Simplify Testing

Program slicing is a technique for automatically identifying the statements of a program which a ect a selected subset of its variables. A large program can be divided into a number of smaller programs (its slices), each constructed for di erent variable subsets. The slices are typically simpler than the original program, thereby simplifying the process of testing a property of the program whic...

متن کامل

Self-intersection Free and Topologically Faithful Slicing of Implicit Solid

We present a robust and efficient approach to directly slicing implicit solids. Different from prior slicing techniques that reconstruct contours on the slicing plane by tracing the topology of intersected line segments, which is actually not robust, we generate contours through a topology guaranteed contour extraction on binary images sampled from given solids and a subsequent contour simplifi...

متن کامل

Unconditionally Stable Difference Scheme for the Numerical Solution of Nonlinear Rosenau-KdV Equation

In this paper we investigate a nonlinear evolution model described by the Rosenau-KdV equation. We propose a three-level average implicit finite difference scheme for its numerical solutions and prove that this scheme is stable and convergent in the order of O(τ2 + h2). Furthermore we show the existence and uniqueness of numerical solutions. Comparing the numerical results with other methods in...

متن کامل

Fourth-order numerical solution of a fractional PDE with the nonlinear source term in the electroanalytical chemistry

The aim of this paper is to study the high order difference scheme for the solution of a fractional partial differential equation (PDE) in the electroanalytical chemistry. The space fractional derivative is described in the Riemann-Liouville sense. In the proposed scheme we discretize the space derivative with a fourth-order compact scheme and use the Grunwald- Letnikov discretization of the Ri...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997